﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Linq;
using System.Reflection;
using System.Text;

namespace Accumulation.Controls.Menus {

    public class MenuItemEditor : CollectionEditor {
        public MenuItemEditor(Type type)
            : base(type) {
        }

        protected override bool CanSelectMultipleInstances() {
            return false;
        }

        protected override Type[] CreateNewItemTypes() {
            return new Type[] { typeof(MenuItemPlus) };
            }

        protected override Type CreateCollectionItemType() {
            return typeof(MenuItemPlus);
        }
    }

}
